package demo6;

public class Dog extends Animal{
    public String color;

    public Dog(String name, int age, String color){
        super(name, age);
        this.color = color;
    }

    public Dog(){
        super();

    }
    public void bark(){
        System.out.println(this.name + "正在旺旺叫...");
    }
}
